package SpringBoot.__template.full.config.startup;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebFilter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.titan.core.utils.io.ConsoleUtils;

@WebFilter
public class FilterStartup implements Filter {
    private final static Logger log = LoggerFactory.getLogger(FilterStartup.class);

    
    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        ConsoleUtils.method(FilterStartup.class, "init");
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        ConsoleUtils.method(FilterStartup.class, "doFilter");
        filterChain.doFilter(servletRequest,servletResponse);
    }

    @Override
    public void destroy() {
    }
}
